CREATE TABLE [dbo].[WindowsLogEntry] (
    [WindowsLogEntryId] INT              IDENTITY (1, 1) NOT NULL,
    [RoleInstanceId]    INT              NOT NULL,
    [ChannelId]         INT              NOT NULL,
    [ProviderName]      VARCHAR (200)    NOT NULL,
    [EventTime]         DATETIME         NOT NULL,
    [LogXml]            NTEXT            NOT NULL,
    [ProviderGuid]      UNIQUEIDENTIFIER NOT NULL,
    [EventId]           INT              NOT NULL,
    [Level]             INT              NOT NULL,
    [Pid]               INT              NOT NULL,
    [Tid]               INT              NOT NULL
);



